home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / standard / perspective.z / perspective
Encoding:
Text File  |  2002-10-03  |  3.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ppppeeeerrrrssssppppeeeeccccttttiiiivvvveeee((((3333GGGG))))                                                ppppeeeerrrrssssppppeeeeccccttttiiiivvvveeee((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ppppeeeerrrrssssppppeeeeccccttttiiiivvvveeee - defines a perspective projection transformation
  10.  
  11. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      vvvvooooiiiidddd ppppeeeerrrrssssppppeeeeccccttttiiiivvvveeee((((ffffoooovvvvyyyy,,,, aaaassssppppeeeecccctttt,,,, nnnneeeeaaaarrrr,,,, ffffaaaarrrr))))
  13.      AAAAnnnngggglllleeee ffffoooovvvvyyyy;;;;
  14.      ffffllllooooaaaatttt aaaassssppppeeeecccctttt;;;;
  15.      CCCCoooooooorrrrdddd nnnneeeeaaaarrrr,,,, ffffaaaarrrr;;;;
  16.  
  17. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  18.      _f_o_v_y     expects the field-of-view angle in the y direction.  The field
  19.               of view is the range of the area that is being viewed.  _f_o_v_y
  20.               must be _> 2 or an error results.
  21.  
  22.      _a_s_p_e_c_t   expects the aspect ratio which determines the field of view in
  23.               the x direction.  The aspect ratio is the ratio of x (width) to
  24.               y (height).
  25.  
  26.      _n_e_a_r     expects the distance from the viewer to the closest clipping
  27.               plane (always positive).
  28.  
  29.      _f_a_r      expects the distance from the viewer to the farthest clipping
  30.               plane (always positive).
  31.  
  32. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  33.      ppppeeeerrrrssssppppeeeeccccttttiiiivvvveeee specifies a viewing pyramid into the world coordinate system.
  34.      In general, the aspect ratio in ppppeeeerrrrssssppppeeeeccccttttiiiivvvveeee should match the aspect ratio
  35.      of the associated viewport.  For example, _a_s_p_e_c_t=2.0 means the viewer's
  36.      angle of view is twice as wide in _x as it is in _y.  If the viewport is
  37.      twice as wide as it is tall, it displays the image without distortion.
  38.  
  39.      When the system is in single matrix mode, ppppeeeerrrrssssppppeeeeccccttttiiiivvvveeee loads a matrix onto
  40.      the transformation stack, replacing the current top matrix.  When the
  41.      system is in viewing, projection, or texture matrix mode, ppppeeeerrrrssssppppeeeeccccttttiiiivvvveeee
  42.      replaces the current Projection matrix and leaves the ModelView matrix
  43.      stack and the Texture matrix unchanged.
  44.  
  45. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  46.      mmode, ortho, viewport, window
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.